package metamodel.visitor;

import metamodel.ClassNode;
import metamodel.DeepProperty;
import metamodel.CollectionRef;
import metamodel.Property;

import java.util.Collection;

/**
 * User: felix
 * Date: 23.06.2005
 */
public abstract class DefaultGraphVisitor implements ObjectGraphVisitor {

    public void endRoot(ClassNode classNode, Object data) {
    }

    public void endObject(ClassNode classNode, DeepProperty dp, Object data, Object parent, boolean hasNext) {
    }

    public void endCollection(CollectionRef collRef, Collection data, Object parent, boolean hasNext) {
    }

    public void visitNull(Property property, Object parent, boolean hasNext) {
    }
}
